﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SES.CMS.BL;
using System.Web.UI.HtmlControls;
using SES.CMS.DO;

namespace SES.CMS.Module
{
    public partial class ucMainCate : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Page.Title = new sysConfigBL().Select(new sysConfigDO { ConfigID = 1 }).ConfigValue;
            HtmlMeta meta = new HtmlMeta();
            meta.Name = "description";
            meta.Content = new sysConfigBL().Select(new sysConfigDO { ConfigID = 5 }).ConfigValue;
            Page.Header.Controls.Add(meta);

            if (!IsPostBack)
            {
                rptTopSV.DataSource = new cmsCategoryBL().SelectHomepage(100);
                rptTopSV.DataBind();
            }
        }
        public string Change_AV(string ip_str_change)
        {
            return Ultility.Change_AV(ip_str_change);
        }
    }
}